package cn.yinzhiping.interceptorlearn.config;

import org.springframework.stereotype.Component;

/**
 * @author yinzhiping
 */
@Component
public class TokenUtil {
    /**
     * 验证token 是否有效
     */
    public boolean checkToken(String token){
        int i =10;
        if(token.length()>i){
            return true;
        }
        return false;
    }
}
